//
//  ZJHBCell.m
//  这家测试项目
//
//  Created by IOS_DEVELOPER on 2017/6/21.
//  Copyright © 2017年 陈志凌. All rights reserved.
//

#import "ZJHBCell.h"

@implementation ZJHBCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.toptitle.font = [UIFont systemFontOfSize:[Utils iphone5AutoScaleW:31.0f]];
    self.bottomtitle.font = [UIFont systemFontOfSize:[Utils iphone5AutoScaleW:14.0f]];
    self.addressLabel.font = [UIFont systemFontOfSize:[Utils iphone5AutoScaleW:14.0f]];
    
    if (SCREEN_WIDTH >= 414) {
        self.bottomtitle.font = [UIFont systemFontOfSize:14.0f];
    }
    
    self.toptitle.text = [NSString stringWithFormat:@"¥%@",lucky_package[@"money_total"]];
    self.bottomtitle.text = [NSString stringWithFormat:@"时间:%@至%@",lucky_package[@"star"],lucky_package[@"end"]];
    self.addressLabel.text = [NSString stringWithFormat:@"地址:%@",lucky_package[@"address"]];
    self.bgImg.clipsToBounds = YES;
}

@end
